home *** CD-ROM | disk | FTP | other *** search
- Path: news.mindlink.net!news
- From: stefan@burli.com (Stefan Ellis)
- Newsgroups: comp.lang.c++
- Subject: Re: TEdit in OWL
- Date: Fri, 12 Apr 1996 18:56:39 GMT
- Organization: Burli Software Inc.
- Message-ID: <4km91d$cc6@fountain.mindlink.net>
- References: <4kl4ri$mq3@ctylnk.cityu.edu.hk>
- NNTP-Posting-Host: line145.nwm.mindlink.net
- X-Newsreader: Forte Free Agent 1.0.82
-
- > When I use TEdit in the following way in a dialog constructor
- > there is not effect at all :
- >
- > item1 = new TEdit(this, -1,10,20,25,75);
- > item1->SetText("this is item1");
-
- > I can't see anything in the Edit box. What 's going on ?
-
- > Still worst,
- > when I use TStatic in a similar way, i.e. to constrct a
- > text region with a string.
- > When I call item2->Clear(), the text in the static text region is not clear.
-
- Try moving these function calls to your dialog's SetupWindow(). I
- believe that these calls required a properly-formed window handle,
- which does not yet exist in the constructor.
-
- Stefan Ellis
- Burli Software Inc.
- Computer Consulting & Software Development
-
-